package com.ruoyi.nongjt.mapper;

import com.ruoyi.nongjt.domain.NjtUserRegister;
import com.ruoyi.nongjt.domain.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper

public interface NjtUserRegisterMapper {
    List<NjtUserRegister> selectNjtUserRegisterList(NjtUserRegister njtUserRegister);

    int updateNjtUserRegister(NjtUserRegister njtUserRegister);

    int deleteNjtUserRegisterById(Integer userId);


    int register(User user);

    User findByPhone(String phone);

    public int deleteNjtUserRegisterByIds(Long[] userIds);
}
